import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { CartService } from 'src/app/cart.service';

@Component({
  selector: 'app-project-tasks-list-ts1',
  templateUrl: './project-tasks-list-ts1.component.html',
  styleUrls: ['./project-tasks-list-ts1.component.scss'],
})
export class ProjectTasksListTs1Component implements OnInit {
  public date: Date;
  constructor(private route: ActivatedRoute, public CartService: CartService) {
    this.date = new Date();
  }
  get = function (val: string) {
    console.log(val);
  };
  ngOnInit(): void {
    console.log(this.route.snapshot.paramMap.get('id'), 'id');
  }
}
